package com._520it.wms.service;

import com._520it.wms.domain.SystemMenu;
import com._520it.wms.query.PageResult;
import com._520it.wms.query.QueryObject;

import java.util.List;
import java.util.Map;

/**
 * Created by HASEE on 2017/11/14.
 */
public interface ISystemMenuService {
    //增加
    void saveOrUpdate(SystemMenu systemMenu);

    //删除
    void delete(Long id);

    //查询
    SystemMenu get(Long id);

    //查询全部
    List<SystemMenu> listAll();

    PageResult query(QueryObject qo);


    List<Map<String,Object>> queryParentList(Long parentId);

    List<Map<String,Object>> queryMenusByParentSn(Long parentId);

    List<SystemMenu> listChildMenus();
}
